package com.feicheng.mapper;


import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.feicheng.entity.User;
import com.feicheng.model.UserWithRoleWithPermission;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yvming.gao
 * @since 2022-07-04
 */

@Mapper
public interface UserMapper extends BaseMapper<User> {
    List<UserWithRoleWithPermission> getUserInfo(@Param(Constants.WRAPPER) Wrapper<UserWithRoleWithPermission> wrapper);
}
